CyberStore Return Web Service
MethodAddItemToReturnByStockCode
CyberStore Return Web Service > All Operations Resource Group : AddItemToReturnByStockCode (Method)
Description
Adds a new line to a Return by stock code.
Request (AddItemToReturnByStockCodeSoapIn)

The request body is of type AddItemToReturnByStockCode.

Request Body Parameters

NameDescriptionData Type
 xml:string
 xml:int
 xml:anyType
 xml:dateTime
 xml:string
 xml:string
200 Response (AddItemToReturnByStockCodeSoapOut)

The response body is of type AddItemToReturnByStockCodeResponse.

Response Body Parameters

NameDescriptionData Type

A string value containing a JSON object.

{
    "Data": {
        "FirstName": "Susan",
        "LastName": "Brown",
        "Email": "sbrown@bikesblades.com",
        "Phone": "",
        "CustomerNumber": "000000000000013",
        "CustomerName": "Out of Africa",
        "ItemCount": 1,
        "TotalWeight": 10.0,
        "TotalVolume": 0.3,
        "LastUpdated": "2022-11-04T16:15:27.833",
        "CustomData": {},
        "Branch": "",
        "Fax": "",
        "UserField1": "",
        "SpecialInstrs": "",
        "OrderType": "",
        "AlternateKey": "",
        "ServiceTicket": "",
        "ShippingAddress": {
            "FirstName": "Susan",
            "LastName": "Brown",
            "Address1": "254 Southway Drive",
            "Address2": "Southern Bypass",
            "Address3": "South, Sandton",
            "City": "",
            "State": "",
            "Zip": "2196",
            "Country": "",
            "MultiShipCode": "",
            "Area": ""
        },
        "Details": [{
            "Row": 1,
            "ID": 13265,
            "Item_ID": 579,
            "StockCode": "A100",
            "NonStockItem": false,
            "Description": "Boys 15 Speed Mountain Bike",
            "SerialNumber": "Test1011",
            "Quantity": 1,
            "UOM": "EA",
            "UnitType": 1,
            "UnitWeight": 10.0,
            "UnitVolume": 0.3,
            "ReturnType": "",
            "ProblemCode": "",
            "ProblemNotes": "",
            "InvoiceNumber": "",
            "OrderNumber": "",
            "CustomData": {},
            "LastUpdated": "2022-11-04T16:15:27.843",
            "WarrantyDate": null,
            "ReturnByDate": null,
            "Lot": "",
            "UserDefined1": "",
            "UserDefined2": "",
            "PurchaseDate": "2022-11-04",
            "Photo1": "/Ecommerce/site/images/Photo1/A100.jpg",
            "Photo2": "/Ecommerce/site/images/Photo2/A100.jpg"
        }]
    },
    "LookupData": {
        "DefaultProblemCode": "BR",
        "ProblemCodes": [{
            "Code": "BR",
            "DisplayText": "Broken"
        }, {
            "Code": "CL",
            "DisplayText": "Certification Limit"
        }, {
            "Code": "CM",
            "DisplayText": "Changed Mind"
        }, {
            "Code": "FT",
            "DisplayText": "Faulty"
        }, {
            "Code": "OS",
            "DisplayText": "Over Supply"
        }, {
            "Code": "US",
            "DisplayText": "Unsuitable"
        }, {
            "Code": "WC",
            "DisplayText": "Wrong Color"
        }, {
            "Code": "WI",
            "DisplayText": "Wrong Item"
        }]
    },
    "Result": {
        "Success": true,
        "Message": "The item has been successfully added to the return.",
        "ElapsedTime": "81 ms"
    }
}

 

xml:string
See Also
All Operations Resource GroupCyberStore Return Web Service